package com.alibaba.citrus.ots.unified.inventory.dto.api.request;

import com.alibaba.citrus.ots.unified.inventory.dto.api.response.AllocateOrderScItemReceivedDetailDTO;
import com.alibaba.citrus.ots.unified.inventory.dto.api.response.AllocateOrderScItemShippedDetailDTO;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @description: 调拨单收货信息
 * @author: yuhw
 * @date: 2021年08月30日 14:18
 **/
@Data
public class AllocateOrderReceivedDTO extends BaseDTO{
    /**
     * 调拨单id
     */
    private String allocateOrderId;
    /**
     * 调拨单号
     */
    private String allocateOrderNo;
    /**
     * 调拨单外部单号 关联sap
     */
    private String allocateOrderOutOrderNo;
    /**
     * 调拨预报单号
     */
    private String allocateApplyOrderNo;
    /**
     * 提报组织id
     */
    private String reportingOrganizationId;
    /**
     * 提报组织名称
     */
    private String reportingOrganizationName;
    /**
     * 收货仓库id
     */
    private String receivingWareHouseId;
    /**
     * 收货仓库名称
     */
    private String receivingWareHouseName;
    /**
     * 收货货区
     */
    private String receivingAreaId;
    /**
     * 收货货区名称
     */
    private String receivingAreaName;
    /**
     * 收货仓-联系人
     */
    private String receivingWareHouseContactPerson;
    /**
     * 收货仓-电话
     */
    private String receivingWareHousePhone;
    /**
     * 收货仓-地址
     */
    private String receivingWareHouseAddress;
    /**
     * 发货仓库id
     */
    private String shippingWareHouseId;
    /**
     * 收货仓库名称
     */
    private String shippingWareHouseName;
    /**
     * 发货货区id
     */
    private String shippingAreaId;
    /**
     * 发货货区名称
     */
    private String shippingAreaName;
    /**
     * 包含货品的id
     */
    private List<String> scItemIds;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 确认时间
     */
    private Date confirmTime;
    /**
     * 完成时间
     */
    private Date finishTime;
    /**
     * 装运方式
     */
    private Integer shippingMethod;
    /**
     * 合计数量
     */
    private String totalAmount;
    /**
     * 发货数量
     */
    private String shippingAmount;
    /**
     * 收货数量
     */
    private String receivingAmount;
    /**
     * 预计到货日期
     */
    private String expectedArrivalTime;
    /**
     * 发货时间
     */
    private Date shippingTime;
    /**
     * 收货时间
     */
    private Date receivingTime;
    /**
     * 状态
     */
    private String status;
    /**
     * 单据类型 {@link AllocateOrderType}
     */
    private Integer orderType;

    /**
     * 创建人
     */
    private String creator;
    /**
     * 备注
     */
    private String remark;
    /**
     * 调拨单货品明细
     */
    private List<AllocateOrderScItemDetail> allocateOrderScItemDetails;
    /**
     * 调拨单货品发货明细
     */
//    private List<AllocateOrderScItemShippedDetailDTO> allocateOrderScItemShippedDetailDTOS;
    /**
     * 调拨单货品收货明细
     */
    private List<AllocateOrderScItemReceivedDetailDTO> allocateOrderScItemReceivedDetailDTOS;
}
